package com.easyj.base.security;

import java.io.Serializable;
import java.util.List;

import com.easyj.admin.db.model.Position;
import com.easyj.admin.db.model.Role;
import com.easyj.admin.db.model.RouteVo;

/**
 * 登录成功后返回给前端的信息
 * @author hjf
 *
 */
public class AuthInfoDTO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 9174323528254371402L;
	
	private UserDTO user;
	
	private List<Role> roles;
	
	private List<Position> positions;
	
	private  List<String> authorities;
	
	private List<RouteVo> routes;

	public List<RouteVo> getRoutes() {
		return routes;
	}

	public void setRoutes(List<RouteVo> routes) {
		this.routes = routes;
	}

	public UserDTO getUser() {
		return user;
	}

	public void setUser(UserDTO user) {
		this.user = user;
	}


	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	public List<String> getAuthorities() {
		return authorities;
	}

	public void setAuthorities(List<String> authorities) {
		this.authorities = authorities;
	}

	public List<Position> getPositions() {
		return positions;
	}

	public void setPositions(List<Position> positions) {
		this.positions = positions;
	}	
	
	
	
}
